﻿using System.Collections.Generic;
using Microsoft.SharePoint;

namespace ServBus.ListForm2010.Common.WFXSNOperator
{

    #region Absctract class

    public abstract class BaseContentTypeInfo
    {
        public string ContentTypeName { get; set; }

        public string UniqueName { get; set; }

        public SPContentTypeId ContentTypeId { get; set; }

        public List<XFieldInfo> FieldInfoList { get; set; }

        public List<XFieldInfo> ViewFieldList { get; set; }

        public bool HasView { get; set; }
    }

    public class ContentTypeInfo : BaseContentTypeInfo
    {
        public ContentTypeInfo()
        {
            FieldInfoList = new List<XFieldInfo>();
            ViewFieldList = new List<XFieldInfo>();
            HasView = false;
        }
    }

    #endregion
}